/**
 * @FileName: ZMCBusinessException.java
 * @Package: com.ziroom.zmc.commons.exception
 * @author youshipeng
 * @created 2016/12/12 9:48
 * <p>
 * Copyright 2016 ziroom
 */
package top.swimmer.tools.exception;

/**
 * <p></p>
 *
 * <PRE>
 * <BR>	修改记录
 * <BR>-----------------------------------------------
 * <BR>	修改日期			修改人			修改内容
 * </PRE>
 *
 * @author youshipeng
 * @since 1.0
 * @version 1.0
 */
public class BaseException extends RuntimeException {

    private Integer code;

    public BaseException(String message, Throwable cause) {
        super(message, cause);
    }

    public BaseException(int code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }

    public BaseException(int code, String message) {
        super(message);
        this.code = code;
    }

    public BaseException(String message) {
        super(message);
    }
}